﻿namespace EMR.EditorUtility.WinControls
{
    using System;
    using System.ComponentModel;

    [ToolboxItem(false)]
    public class OutlookBarItem : Component
    {
        private int imageIndex;
        private object tag;
        private string text;

        public OutlookBarItem()
        {
            this.imageIndex = -1;
            this.imageIndex = -1;
        }

        public OutlookBarItem(string text, int ImageIndex)
        {
            this.imageIndex = -1;
            this.text = text;
            this.imageIndex = ImageIndex;
        }

        public OutlookBarItem(string text, int imageIndex, object tag)
        {
            this.imageIndex = -1;
            this.text = text;
            this.imageIndex = imageIndex;
            this.Tag = tag;
        }

        public int ImageIndex
        {
            get
            {
                return this.imageIndex;
            }
            set
            {
                this.imageIndex = value;
            }
        }

        public object Tag
        {
            get
            {
                return this.tag;
            }
            set
            {
                this.tag = value;
            }
        }

        public string Text
        {
            get
            {
                return this.text;
            }
            set
            {
                this.text = value;
            }
        }
    }
}

